package com.hjp.designmode.state;

/**
 * @Description: 包含状态的一个类
 * @Author: huangjp6
 * @Date: 2022/3/17 14:39
 */
public class Context {
    private State state;

    public Context() {
        state = null;
    }

    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }
}